﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Favorite
    {
        private int _fid;
        private string _fname;
        private int _uid;
        private int _pid;
        //private UserInfo _user;
        //private Favorite _pfavorite;
        
        public Favorite() { }
        public Favorite(int fid,string fname,int uid,int pid)
        {
            this._fid = fid;
            this._fname = fname;
            this._uid = uid;
            this._pid = pid;
        }
        

        public int FID 
        {
            set 
            {
                this._fid = value;
            }
            get 
            {
                return this._fid;
            }
        }

        public string FName {
            set 
            {
                this._fname = value;
            }
            get 
            {
                return this._fname;
            }
        }

        public int UID 
        { 
            set 
            {
                this._uid = value;
            } 
            get 
            {
                return this._uid;
            }
        }

        public int PID 
        {
            set
            {
                this._pid = value;
            }
            get
            {
                return this._pid;
            }
        }

    }
}
